# -*- coding: utf-8 -*-
# @Time    : 2022/1/11 9:24
# @Author  : mzp
# @Email   : 2609404548@qq.com
# @File    : home_page.py
# @Software: PyCharm

""""""
from pages.zbjrrz_page import Djrc1
from pages.base_page import BasePage
from selenium.webdriver.common.by import By
class JrRz (BasePage):
    xz_locator = (By.CSS_SELECTOR, 'body > div.container > div.row > div:nth-child(2) > div > a')

    def djxgrz(self):  # 点击新建按钮进入日志页面
        self.driver.find_element(*self.xz_locator).click()

class  Djrc(BasePage):
    xjrc_locator = (By.CSS_SELECTOR, "body > div.container > div.row > div:nth-child(1) > div > a")

    def djxjrc(self): #点击新建按钮进入日程页面
        self.driver.find_element(*self.xjrc_locator).click()

class Jxxg(BasePage):
    xgrz_locator=(By.XPATH, '//*[@id="form1"]/table/tbody/tr[1]/td[7]/a[2]')
    def xjxgez(self):
        self.driver.find_element(*self.xgrz_locator).click()

